From 46ef4b6ecdd2e878421da4d79a81b3bacbf099e8 Mon Sep 17 00:00:00 2001 From: "mjw@wray-m-3.hpl.hp.com" Date: Tue, 10 Aug 2004 13:21:15 +0000 Subject: [PATCH] bitkeeper revision 1.1159.14.3 (4118cbcbViBc-_SwC7TL33vEzHCY7Q) Don't build the domain when restoring. --- tools/python/xen/xend/XendDomainInfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index cda3de9b30..056a171fc2 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -718,7 +718,7 @@ class XendDomainInfo: def build_domain(self, ostype, kernel, ramdisk, cmdline, vifs_n): """Build the domain boot image. """ - if self.recreate: return + if self.recreate or self.restore: return if len(cmdline) >= 256: log.warning('kernel cmdline too long, domain %d', self.dom) dom = self.dom -- 2.30.2